package com.tac.pojo.scm;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("采购计划")
public class PurchasePlan {

    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("单据号")
    private String documentNumber;
    @ApiModelProperty("申请人")
    private String applicant;
    @ApiModelProperty("申请日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date applicationDate;
    @ApiModelProperty("申请状态未提交、待审核、已审核")
    private String applicationStatus;
    @ApiModelProperty("审核人")
    private String reviewer;
    @ApiModelProperty("审核日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date reviewDate;
    @ApiModelProperty("审核状态：驳回、通过")
    private String reviewStatus;
    @ApiModelProperty("审核意见")
    private String reviewOpinion;
    @ApiModelProperty("备注")
    private String remark;


    @ApiModelProperty("采购计划详细信息")
    private List<PurchasePlanDetails> purchasePlanDetails;
}
